package com.tms.app.tms.ui.base.presenter;

import android.support.v4.widget.SwipeRefreshLayout;
import android.view.View;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.tms.app.tms.model.BaseModel;
import com.tms.app.tms.ui.base.view.IListView;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/10/28 0028.
 */

public abstract class AbsBaseListP<M extends BaseModel,V extends IListView> extends AbsBaseP
        implements
        BaseQuickAdapter.OnItemChildClickListener,
        BaseQuickAdapter.OnItemClickListener,
        BaseQuickAdapter.RequestLoadMoreListener,
        SwipeRefreshLayout.OnRefreshListener

        {

   protected int requestType=0;

   public   List<M> list= new ArrayList<>();
   public V iView;

    public void setiView(V iViewTrade) {
        this.iView = iViewTrade;
    }

    @Override
    public void onItemChildClick(BaseQuickAdapter adapter, View view, int position) {

    }

    @Override
    public void onItemClick(BaseQuickAdapter adapter, View view, int position) {

    }

    @Override
    public void onRefresh() {

            }

     @Override
    public void onLoadMoreRequested() {

            }
}
